package com.linln.admin.meeting.validator;

import lombok.Data;

import java.io.Serializable;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author taofucheng
 * @date 2021/10/25
 */
@Data
public class RoomValid implements Serializable {
    @NotNull(message = "分组信息不能为空")
    private Long groupId;
    @NotEmpty(message = "会议室名称不能为空")
    private String title;
    @NotNull(message = "容纳人数不能为空")
    private Long volume;
}